//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/11/2024','2:00 PM','6089233','An-Enemy-of-the-People-5-11-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/11/2024','8:00 PM','6089259','An-Enemy-of-the-People-5-11-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','5/12/2024','3:00 PM','6089173','An-Enemy-of-the-People-5-12-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','5/14/2024','7:00 PM','6089203','An-Enemy-of-the-People-5-14-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/15/2024','2:00 PM','6089234','An-Enemy-of-the-People-5-15-2024'],['One Night of Queen - Gary Mullen and The Works','Circle Square Cultural Center','Ocala, FL','Wednesday','5/15/2024','7:00 PM','6207024','One-Night-of-Queen---Gary-Mullen-and-The-Works-5-15-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/15/2024','8:00 PM','6089260','An-Enemy-of-the-People-5-15-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','5/16/2024','7:00 PM','6089204','An-Enemy-of-the-People-5-16-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','5/17/2024','7:00 PM','6089205','An-Enemy-of-the-People-5-17-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/18/2024','2:00 PM','6089235','An-Enemy-of-the-People-5-18-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/18/2024','8:00 PM','6089261','An-Enemy-of-the-People-5-18-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','5/19/2024','3:00 PM','6089174','An-Enemy-of-the-People-5-19-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6089206','An-Enemy-of-the-People-5-21-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6089236','An-Enemy-of-the-People-5-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/22/2024','8:00 PM','6089262','An-Enemy-of-the-People-5-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','5/23/2024','7:00 PM','6089207','An-Enemy-of-the-People-5-23-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','5/24/2024','7:00 PM','6089208','An-Enemy-of-the-People-5-24-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/25/2024','2:00 PM','6089237','An-Enemy-of-the-People-5-25-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','5/25/2024','8:00 PM','6089263','An-Enemy-of-the-People-5-25-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','5/26/2024','3:00 PM','6089175','An-Enemy-of-the-People-5-26-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','5/28/2024','7:00 PM','6089209','An-Enemy-of-the-People-5-28-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/29/2024','2:00 PM','6089238','An-Enemy-of-the-People-5-29-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/29/2024','8:00 PM','6089264','An-Enemy-of-the-People-5-29-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','5/30/2024','7:00 PM','6089210','An-Enemy-of-the-People-5-30-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','5/31/2024','7:00 PM','6089211','An-Enemy-of-the-People-5-31-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/1/2024','2:00 PM','6089239','An-Enemy-of-the-People-6-1-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/1/2024','8:00 PM','6089265','An-Enemy-of-the-People-6-1-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','6/2/2024','3:00 PM','6089176','An-Enemy-of-the-People-6-2-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','6/4/2024','7:00 PM','6089212','An-Enemy-of-the-People-6-4-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/5/2024','2:00 PM','6089240','An-Enemy-of-the-People-6-5-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/5/2024','8:00 PM','6089266','An-Enemy-of-the-People-6-5-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','6/6/2024','7:00 PM','6089213','An-Enemy-of-the-People-6-6-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','6/7/2024','7:00 PM','6089214','An-Enemy-of-the-People-6-7-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/8/2024','2:00 PM','6089241','An-Enemy-of-the-People-6-8-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/8/2024','8:00 PM','6089267','An-Enemy-of-the-People-6-8-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','6/9/2024','3:00 PM','6089177','An-Enemy-of-the-People-6-9-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','6/11/2024','7:00 PM','6089215','An-Enemy-of-the-People-6-11-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/12/2024','2:00 PM','6089242','An-Enemy-of-the-People-6-12-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/12/2024','8:00 PM','6089268','An-Enemy-of-the-People-6-12-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','6/13/2024','7:00 PM','6089216','An-Enemy-of-the-People-6-13-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','6/14/2024','7:00 PM','6089217','An-Enemy-of-the-People-6-14-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/15/2024','2:00 PM','6089243','An-Enemy-of-the-People-6-15-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/15/2024','8:00 PM','6089269','An-Enemy-of-the-People-6-15-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','6/16/2024','1:00 PM','6089270','An-Enemy-of-the-People-6-16-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','6/18/2024','7:00 PM','6375944','An-Enemy-of-the-People-6-18-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/19/2024','2:00 PM','6375945','An-Enemy-of-the-People-6-19-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','6/19/2024','8:00 PM','6375946','An-Enemy-of-the-People-6-19-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Thursday','6/20/2024','7:00 PM','6375947','An-Enemy-of-the-People-6-20-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Friday','6/21/2024','7:00 PM','6375948','An-Enemy-of-the-People-6-21-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/22/2024','2:00 PM','6375949','An-Enemy-of-the-People-6-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Saturday','6/22/2024','8:00 PM','6375950','An-Enemy-of-the-People-6-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Sunday','6/23/2024','3:00 PM','6375951','An-Enemy-of-the-People-6-23-2024']],'Circle In The Square','http://www.ticketnetwork.com/ticket/Circle-In-The-Square-events.aspx');